package com.jz.community.moduleshopping.cardGoods.info;

import com.jz.community.basecomm.bean.baseCommInfo.LinksInfo;
import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/8/17 08:32
 */
public class CardCategoryInfo {


    /**
     * _embedded : {"linkedHashMaps":[{"id":76,"title":"壳牌油卡","icon":"http://goodspics.oss-cn-beijing.aliyuncs.com/1533893741336.png?Expires=1849253739&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=Y56OF1U1ue0xzgbOB1%2BbRNtSHrs%3D","saleCount":0,"buyType":0,"price":null,"stock":null,"skuProperties":[{"id":122,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","name":"面值","propertyValues":[{"id":210,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"100"},{"id":211,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"500"},{"id":212,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"1000"}],"sort":0}],"skuInfos":[{"id":94,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":99,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|100","spidStr":"122|210","remarks":null,"catNum":0},{"id":95,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":499,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|500","spidStr":"122|211","remarks":null,"catNum":0},{"id":96,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":999,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|1000","spidStr":"122|212","remarks":null,"catNum":0}],"_embedded":{"category":{"id":195,"name":"壳牌","shopType":1,"platformId":"2","platformInfo":null,"_embedded":{"childCategory":[]},"_links":{"self":{"href":"http://api.shoppingyizhan.com/gds/goods-categories/195"},"platformInfo":{"href":"null"}}}},"_links":{"self":{"href":"http://api.shoppingyizhan.com/gds/goods-sqrs/76"},"content":{"href":"http://api.shoppingyizhan.com/gds/goods/content/76"},"shopInfo":{"href":"http://api.shoppingyizhan.com/shp/shops/100006"}}}]}
     * _links : {"self":{"href":"http://api.shoppingyizhan.com/gds/goods-sqrs?filter=id%3A%3A76&page=0&size=10&sort=createTime,desc"}}
     * page : {"size":10,"totalElements":1,"totalPages":1,"number":0}
     */

    private EmbeddedBeanXX _embedded;
    private PageInfo page;

    public EmbeddedBeanXX get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBeanXX _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBeanXX {
        private List<LinkedHashMapsBean> linkedHashMaps;

        public List<LinkedHashMapsBean> getLinkedHashMaps() {
            return linkedHashMaps;
        }

        public void setLinkedHashMaps(List<LinkedHashMapsBean> linkedHashMaps) {
            this.linkedHashMaps = linkedHashMaps;
        }

        public static class LinkedHashMapsBean extends LinksInfo{
            /**
             * id : 76
             * title : 壳牌油卡
             * icon : http://goodspics.oss-cn-beijing.aliyuncs.com/1533893741336.png?Expires=1849253739&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=Y56OF1U1ue0xzgbOB1%2BbRNtSHrs%3D
             * saleCount : 0
             * buyType : 0
             * price : null
             * stock : null
             * skuProperties : [{"id":122,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","name":"面值","propertyValues":[{"id":210,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"100"},{"id":211,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"500"},{"id":212,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"1000"}],"sort":0}]
             * skuInfos : [{"id":94,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":99,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|100","spidStr":"122|210","remarks":null,"catNum":0},{"id":95,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":499,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|500","spidStr":"122|211","remarks":null,"catNum":0},{"id":96,"status":null,"version":1,"createTime":"2018-08-10 17:35:44","updateTime":"2018-08-10 17:35:45","price":999,"discountPrice":null,"stock":111,"stockInfinite":0,"charges":0,"code":null,"spStr":"面值|1000","spidStr":"122|212","remarks":null,"catNum":0}]
             * _embedded : {"category":{"id":195,"name":"壳牌","shopType":1,"platformId":"2","platformInfo":null,"_embedded":{"childCategory":[]},"_links":{"self":{"href":"http://api.shoppingyizhan.com/gds/goods-categories/195"},"platformInfo":{"href":"null"}}}}
             * _links : {"self":{"href":"http://api.shoppingyizhan.com/gds/goods-sqrs/76"},"content":{"href":"http://api.shoppingyizhan.com/gds/goods/content/76"},"shopInfo":{"href":"http://api.shoppingyizhan.com/shp/shops/100006"}}
             */

            private String id;
            private String title;
            private String icon;
            private int saleCount;
            private int buyType;
            private String price;
            private String stock;
            private EmbeddedBeanX _embedded;
            private List<SkuPropertiesBean> skuProperties;
            private List<SkuInfosBean> skuInfos;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getSaleCount() {
                return saleCount;
            }

            public void setSaleCount(int saleCount) {
                this.saleCount = saleCount;
            }

            public int getBuyType() {
                return buyType;
            }

            public void setBuyType(int buyType) {
                this.buyType = buyType;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public EmbeddedBeanX get_embedded() {
                return _embedded;
            }

            public void set_embedded(EmbeddedBeanX _embedded) {
                this._embedded = _embedded;
            }

            public List<SkuPropertiesBean> getSkuProperties() {
                return skuProperties;
            }

            public void setSkuProperties(List<SkuPropertiesBean> skuProperties) {
                this.skuProperties = skuProperties;
            }

            public List<SkuInfosBean> getSkuInfos() {
                return skuInfos;
            }

            public void setSkuInfos(List<SkuInfosBean> skuInfos) {
                this.skuInfos = skuInfos;
            }

            public static class EmbeddedBeanX {
                /**
                 * category : {"id":195,"name":"壳牌","shopType":1,"platformId":"2","platformInfo":null,"_embedded":{"childCategory":[]},"_links":{"self":{"href":"http://api.shoppingyizhan.com/gds/goods-categories/195"},"platformInfo":{"href":"null"}}}
                 */

                private CategoryBean category;

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public static class CategoryBean {
                    /**
                     * id : 195
                     * name : 壳牌
                     * shopType : 1
                     * platformId : 2
                     * platformInfo : null
                     * _embedded : {"childCategory":[]}
                     * _links : {"self":{"href":"http://api.shoppingyizhan.com/gds/goods-categories/195"},"platformInfo":{"href":"null"}}
                     */

                    private String id;
                    private String name;
                    private int shopType;
                    private String platformId;
                    private String platformInfo;

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public int getShopType() {
                        return shopType;
                    }

                    public void setShopType(int shopType) {
                        this.shopType = shopType;
                    }

                    public String getPlatformId() {
                        return platformId;
                    }

                    public void setPlatformId(String platformId) {
                        this.platformId = platformId;
                    }

                    public String getPlatformInfo() {
                        return platformInfo;
                    }

                    public void setPlatformInfo(String platformInfo) {
                        this.platformInfo = platformInfo;
                    }


                }
            }
        }


        public static class SkuPropertiesBean {
            /**
             * id : 122
             * status : null
             * version : 0
             * createTime : 2018-08-10 17:35:45
             * updateTime : 2018-08-10 17:35:45
             * name : 面值
             * propertyValues : [{"id":210,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"100"},{"id":211,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"500"},{"id":212,"status":null,"version":0,"createTime":"2018-08-10 17:35:45","updateTime":"2018-08-10 17:35:45","propertyValue":"1000"}]
             * sort : 0
             */

            private String id;
            private String status;
            private int version;
            private String createTime;
            private String updateTime;
            private String name;
            private int sort;
            private List<PropertyValuesBean> propertyValues;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public List<PropertyValuesBean> getPropertyValues() {
                return propertyValues;
            }

            public void setPropertyValues(List<PropertyValuesBean> propertyValues) {
                this.propertyValues = propertyValues;
            }

            public static class PropertyValuesBean {
                /**
                 * id : 210
                 * status : null
                 * version : 0
                 * createTime : 2018-08-10 17:35:45
                 * updateTime : 2018-08-10 17:35:45
                 * propertyValue : 100
                 */

                private String id;
                private String status;
                private int version;
                private String createTime;
                private String updateTime;
                private String propertyValue;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getPropertyValue() {
                    return propertyValue;
                }

                public void setPropertyValue(String propertyValue) {
                    this.propertyValue = propertyValue;
                }
            }
        }

        public static class SkuInfosBean {
            /**
             * id : 94
             * status : null
             * version : 1
             * createTime : 2018-08-10 17:35:44
             * updateTime : 2018-08-10 17:35:45
             * price : 99
             * discountPrice : null
             * stock : 111
             * stockInfinite : 0
             * charges : 0
             * code : null
             * spStr : 面值|100
             * spidStr : 122|210
             * remarks : null
             * catNum : 0
             */

            private String id;
            private String status;
            private int version;
            private String createTime;
            private String updateTime;
            private String price;
            private String discountPrice;
            private int stock;
            private int stockInfinite;
            private String charges;
            private String code;
            private String spStr;
            private String spidStr;
            private String remarks;
            private int catNum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public int getStock() {
                return stock;
            }

            public void setStock(int stock) {
                this.stock = stock;
            }

            public int getStockInfinite() {
                return stockInfinite;
            }

            public void setStockInfinite(int stockInfinite) {
                this.stockInfinite = stockInfinite;
            }

            public String getCharges() {
                return charges;
            }

            public void setCharges(String charges) {
                this.charges = charges;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getSpStr() {
                return spStr;
            }

            public void setSpStr(String spStr) {
                this.spStr = spStr;
            }

            public String getSpidStr() {
                return spidStr;
            }

            public void setSpidStr(String spidStr) {
                this.spidStr = spidStr;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public int getCatNum() {
                return catNum;
            }

            public void setCatNum(int catNum) {
                this.catNum = catNum;
            }
        }
    }
}
